package com.qidian.permission;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author 18林梦雅
 * @Company 起点编程
 * @Time 2023/10/18 18:26
 * @Description
 */

@SpringBootApplication
@MapperScan("com.qidian.permission.mapper")
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true) // exposeProxy 将代理对象暴漏在当前的ThreadLocal中。
public class PermissionApplication {
    public static void main(String[] args) {
        SpringApplication.run(PermissionApplication.class,args);
    }
}
